Skip to content

Conversation

@MikeDev101
Copy link
Contributor

@MikeDev101 MikeDev101 commented Jan 29, 2025

https://github.com/cloudlink-omega/peerjs-scratch

This was intended to be an experimental foundation for a CL5 rewrite but I thought it would be perfectly fine making it it's own thing.

I'm not 100% sure if my tweaks to the original code would make it fully compliant with the "Banned APIs" section.

@github-actions github-actions bot added the pr: new extension Pull requests that add a new extension label Jan 29, 2025
"Links to places other than Scratch are not allowed at this time"
@Thebloxers998
Copy link

PeerJS?! Your Adding It? Yayyyyyyyyyy

Copy link

@Thebloxers998 Thebloxers998 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the best extension for multiplayer, nice 👍

@Thebloxers998
Copy link

Where is the create peer block

@MikeDev101
Copy link
Contributor Author

Noted requested changes, will be working on them.

@CubesterYT
Copy link
Member

I'll do a review

Copy link
Member

@CubesterYT CubesterYT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Round one of reviews

This extension is VERY weird.

@CubesterYT
Copy link
Member

!format

@MikeDev101
Copy link
Contributor Author

huh, neat

@CubesterYT
Copy link
Member

huh, neat

Yeah, lol, it's a workflow I made (polished by GarboMuffin)

@MikeDev101
Copy link
Contributor Author

since we're here, can someone please fix the website's credit link to point to my new account? thanks

Copy link
Member

@CubesterYT CubesterYT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final review from what I see.

I'd recommend making documentation, so people can have a better understanding on how to use this extension, but it isn't required.

I would like for others to review as well, in case I missed anything.

@MikeDev101
Copy link
Contributor Author

I don't think I'm using Scratch.canRecordAudio() correctly - Is it awaitable or is it blocking?

@CST1229
Copy link
Collaborator

CST1229 commented Feb 6, 2025

I don't think I'm using Scratch.canRecordAudio() correctly - Is it awaitable or is it blocking?

it's async (so awaitable)

* Updated title
* Minified ULID function
* Prettier - Removed trailing commas
@MikeDev101
Copy link
Contributor Author

!format

@MikeDev101
Copy link
Contributor Author

😭

@MikeDev101 MikeDev101 requested a review from CubesterYT February 7, 2025 00:21
Copy link
Member

@CubesterYT CubesterYT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finale

Copy link
Member

@CubesterYT CubesterYT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, now we just wait on the others.

@SharkPool-SP
Copy link
Collaborator

Why does the block "enableVerboseLogs" exist even though the toggle logs block exists?

@CubesterYT
Copy link
Member

Why does the block "enableVerboseLogs" exist even though the toggle logs block exists?

He released this extension earlier to his own people, so technically, just like your extensions, they are already being used by real people, and he rather not break compatibility.

@SharkPool-SP
Copy link
Collaborator

Why does the block "enableVerboseLogs" exist even though the toggle logs block exists?

He released this extension earlier to his own people, so technically, just like your extensions, they are already being used by real people, and he rather not break compatibility.

Ah okay.

@SharkPool-SP
Copy link
Collaborator

Seems all good then

@MikeDev101 MikeDev101 marked this pull request as draft March 31, 2025 18:34
@MikeDev101
Copy link
Contributor Author

I realized way too late that I forgot to add a function to close channels. Oopsies.

This should be a draft anyways since TW needs some sort of warning mechanism about P2P.

@Brackets-Coder
Copy link
Contributor

So can someone help me understand what exactly is keeping this from being merged?

@MikeDev101
Copy link
Contributor Author

So can someone help me understand what exactly is keeping this from being merged?

I haven't paid much attention to this issue, but there are a few key elements that needs addressing before it's safe to merge.

  1. Lack of ability to close a channel.
  2. Known bug with certain hats - This could be remedied by backporting CL5 code.
  3. TW still doesn't have a mechanism for alerting users about P2P connections.

@MikeDev101
Copy link
Contributor Author

@MikeDev101
Copy link
Contributor Author

MikeDev101 commented Oct 15, 2025

Going to bump this. The repository changed ownership back to my personal account, and there have been a few bugfixes here and there. Still waiting on some sort of menu alert to warn about P2P connectivity.

Edit: I am stupid and realized that bumps don't exist for PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: new extension Pull requests that add a new extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants